package com.rustic.server.enums;

import cn.xy.commons.validator.VerifiedEnum;
import lombok.Getter;

/**
 * 审核状态
 *
 *
 */

@Getter
public enum AuditStatus implements VerifiedEnum {

    /**
     * 待审核
     */
    WAIT(1, "待审核"),

    /**
     * 审核不通过
     */
    FAIL(2, "审核不通过"),

    /**
     * 审核通过
     */
    PASS(3, "审核通过"),

    /**
     * 暂不审核
     */
    WITHHOLD(4, "暂不审核");

    private final int value;

    private final String name;

    AuditStatus(int value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Object getVerifiedValue() {
        return this.value;
    }

}
